# ~*~ coding: utf-8 ~*~
from flask_wtf import FlaskForm
from wtforms import StringField

from apps.common.form import ErrorFormMinx

__all__ = ['UserCheckPasswordForm', 'UserCheckOtpCodeForm']


class UserCheckPasswordForm(ErrorFormMinx, FlaskForm):
    password = StringField()

    class Meta:
        csrf = True


class UserCheckOtpCodeForm(ErrorFormMinx, FlaskForm):
    otp_code = StringField()

    class Meta:
        csrf = True
